package org.example.sso;

import org.example.Result;
import org.example.sso.model.entity.UserDO;
import org.example.xxljob.XxlJobServiceApiFallback;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;

@org.springframework.cloud.openfeign.FeignClient(
        name = "cqt-sso",
        path = "/sso"
        //fallbackFactory = XxlJobServiceApiFallback.class
      //  , url = "http://localhost:8009"
)
public interface LoginApi {




    @GetMapping("/feignApi/getUser")
    public Result<String> getUser(@RequestParam("username") String username);



}
